package com.ruoyi.appointment.service;

import java.util.List;
import com.ruoyi.appointment.domain.CarAppointment;

/**
 * 车辆预约Service接口
 * 
 * @author huxiqing
 * @date 2025-04-07
 */
public interface ICarAppointmentService 
{
    /**
     * 查询车辆预约
     * 
     * @param appointmentId 车辆预约主键
     * @return 车辆预约
     */
    public CarAppointment selectCarAppointmentByAppointmentId(Long appointmentId);

    /**
     * 查询车辆预约列表
     * 
     * @param carAppointment 车辆预约
     * @return 车辆预约集合
     */
    public List<CarAppointment> selectCarAppointmentList(CarAppointment carAppointment);

    /**
     * 新增车辆预约
     * 
     * @param carAppointment 车辆预约
     * @return 结果
     */
    public int insertCarAppointment(CarAppointment carAppointment);

    /**
     * 修改车辆预约
     * 
     * @param carAppointment 车辆预约
     * @return 结果
     */
    public int updateCarAppointment(CarAppointment carAppointment);

    /**
     * 批量删除车辆预约
     * 
     * @param appointmentIds 需要删除的车辆预约主键集合
     * @return 结果
     */
    public int deleteCarAppointmentByAppointmentIds(Long[] appointmentIds);

    /**
     * 删除车辆预约信息
     * 
     * @param appointmentId 车辆预约主键
     * @return 结果
     */
    public int deleteCarAppointmentByAppointmentId(Long appointmentId);
}
